﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Northwind.Config
{
    public class DataBaseConfig
    {
        private readonly static string _DBFileName = GetAppFullPath("Northwind.db4o");
        private static string GetAppFullPath(string pFileName)
        {
            return System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), pFileName);
        }

        public static string DBFileName 
        {
            get {
                return _DBFileName;
            }
        }
    }
}
